Fix deletion process of jobs when entry is deleted
Code improvements
Remove extra if
Merge pull request #1237 from kaltura/IX-9.16.0-PLAT-1098

Fix deletion process of jobs when entry is deleted