Fix wrong ticket count on basic ticket search

Basic search is now limited to ticket number, email address and name.