Fixed the bug where if no jobs are available scheduling page was broken.