Initialize loose_deleted before it is used for a check later on.
Merge pull request #1596 from grimreaper/development

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