Fixed makeEquation logic I had previously broken