Prevent advanced condition flickering when adding or deleting rules