Fix TypeError when job list returns bad data

This closes #4, thanks Justin Zaun for the fix