Reinstate ticket number search

Reason this wasn't working was because the ticket number was incorrect.