Added search behaviors
Do not allow submittng empty queries