Add a check in Babble_Jobs::user_has_cap to prevent infinite loop.
Merge branch 'fix-loop-job-caps' into my-version