fix clear-pending-ops script to handle created_at.nil?
Merge pull request #2663 from rajatchopra/pending_ops_fix

fix clear-pending-ops script to handle created_at.nil?