Added check for empty data producers