Remove entire if and contents