fix oo-admin-clear-pending-ops with respect to rollbacks
Merge pull request #1485 from rajatchopra/master

fix for clear pending ops script