Fix for crash with more than ~500 jobs