Bugfix - delete on entity works even if it does not have ID yet.