JIRA plugin listener not retrieving latest issue data iwht JQL Search

Hi

I currently have an atlassian plugin which has a listener class. In this listener class I get the issue object from the event in the onIssueEvent method.
I then run a JQL search using JQLQueryParser and SearchService.
I have noted that say for example
project = XXX and status = Approve and issuekey = . This query produces 0 results, even though the action just before the listener kicked in was a status change to Approve.

This used to work fine on JIRA Server. But has been giving issues since we moved to Data Center. We are currently running on 3 nodes. I have even put in code to reindex the issue just before calling the JQL code. I still don’t receive the latest results.

Please can someone assist

Thanking you