https://bugs.openldap.org/show_bug.cgi?id=10329
--- Comment #7 from Howard Chu hyc@openldap.org --- (In reply to aweits@rit.edu from comment #6)
Created attachment 1082 [details] fix on top of hyc/its10329 for the logic in refresh_query()
fix for the logic in refresh_query()
I've applied this patch to the merge request.