fixed search not from home page bug
fixed search with no dates bug