minor bug fix

Fixed a bug in the Search/Edit AIML admin page where trying to filter
search results would produce no results.