Fix bug in CakePHP search