Update the getNewMessages method - refs #7338