Fix for metadata failure where record does not exist.