jQuery: Traversing using filter (.not)