Fix issue with selectors searching against itself (like closest)

Fix delegate issue (thanks @jonahx for tracking down the problem)