Fix an if statement problem

It wanted equal number of equations per if statement branch, so added a
throwaway var to use.