Adding missing check for selector