BAZYNGO-843 Fixes
BAZYNGO-851: check if the index reader needs to be refreshed before
running each query. This is not the most optimal solution, issue
BAZYNGO-874 added to track it.
BAZYNGO-874 Add #maybeRefresh after each action which might change index