Problem:
- when a deployment is deleted cascade and the history is disabled (i.e. history level = none and dbHistoryUsed = false) then the command fails because it tries to delete historic job log
AT:
- I can delete a deployment cascade when the history is disabled