fix search not returning full results