minor changes to discrepandcondition

change addcondition function so that column numbers are consistent
across add conditionfn and discrepcheck fn