Fixed a bug with name search, added date search.
Merged.