Add in missing parameters for If

Add in missing parameters left out for construction of If statements