INDY-1949: use the same condition for de-queueing commits as in processing of commits
INDY-1949: use the same condition for de-queueing commits as in processing of commits

Signed-off-by: ashcherbakov <ca681afd35c2012ddb620d7eee6a53369d5e67a5@dsr-corporation.com>

evernym/zeno,evernym/plenum