Fix ActiveModel::Errors#has_key? return value