parameterized the bpMessagesReturn query.