Fix warning alert when there is no jobs