Made date input in search optional