make sure in your testing that you are closing the browser completely.
The search criteria is stored in a session variable. The default where clause is used only when a user comes to the page without triggering the search, and if the session variable is not set.
If you have performed a search, the default where clause will not be sues,. because the session variable will be set.
Close the browser completely to clear the session, then try again.