Realtime queue bug in asterisk 11.17.1

Hi,
i am using asterisk 11.17.1 it has a queue bug in it with below details

“”“RT members when the 1st call joins a queue with no agents
If a call enters in a queue and the members on that queue are updated in realtime (ex: using mysql inserting a new agent) the queue members are never refreshed and the call will stay in the queue until other event occurs.This happens only if this is the first call of the queue and there is no agents servicing.”""

How can i fix it? Please guide and share your suggestion in this regard.