MOBILE-799 Add fixed version of message_search external function