fixed undefined method/nil bug in job index view