Fixing admin clear pending ops script
Merge pull request #3928 from abhgupta/stage_fix_clear_pending_ops

[TO_STAGE] Fixing admin clear pending ops script