Minor refactoring on .not(selector)