Core: Fix problem w/ :not keeping element it's checking. (Re issue #299)