Bug fix: Empty queue breaks job list check