Fix bug in previous commit

  The 'search(query)' method in the ticket model
  could use some unit tests.
  Maybe use the Transformation Priority Premise?
  Must revisit.
Users may now search for tickets clicking on a tag