Replaces unless with if not to meet the coding guidelines.