Initialize loose_deleted before it is used for a check later on.