Fixed searching with incomplete date.