Fix small problems in scantwoF and stepwiseF.