Updated Case search to work in the same way as the User search does.