Invalidate mongoid document after it has been updated, not before.