Fixing admin clear pending ops script