Remove excessive comments

Remove commented lines in IfCommand class
Minor bug fixing with If Commands

Bug fixed