Remove unnecessary selector check.