Added the ability to search using a case reference also.