Fixed a bug in hcp search that returned all doctors instead of ones in state