Properly check for :del not just has_key?