Bug 988740 - admin console routing error on empty search query

@sosiouxme please review