Setting can_delete to False shouldn't raise a KeyError