Added missing 'unscoped' (broken in commit a47e0d7b55a30fb5853f20b139caddd39535727f), which is needed for delayed_jobs with default-scoped ActiveRecord arguments to function correctly (= as they used to in v.4.0.3). The error message in the rescue block is also broken, but this seems to be fixed in another pull request.