Only run attachment cleanup if enabled
Attachment cleanup job is very expensive at the moment (until !3277 (closed)). Sometimes people enable it and the jobs get queued, but then they disable the setting and the jobs keep running and it can crush the instance. This prevents users from needing to use SQL to clear the jobs out of the database.