Fix issue in duplicate jobs