Refacto MessagesSearch controller
Fix controller not redirecting to the message template when it's a single exact match