Adding the possibility to filter jobs that haven't been triggered by a wished amount of days
Moving nested ifs to if/else statements