Fix : Add in_maintenance parameter to retention (and running prop) #1080
Fix : Edit tests for #1080 fix
Fix : Use integer instead of boolean for in_maintenace #1080