Fix de-duplication of lazyWriteMetadata jobs