fixed JPA query in MessageEndpoint.sendMessageToRecipients