Fix preset if statement