Fixed bug in cleaner that cropped up if there was no metadata.