fix $pull for key that does not exist

Fixed KeyError when you update with $pull a key that does not exist.