Refactor MessagesSearch Controller to makes use of scopes declared on Message models.