Fixes issue:1484

Make jobs builtin return 1 if there are no jobs running in the background
Fix indentation