fixes #582 advanced and normal search, date picker was not working