Remove stranded if