Fix bug with modulate where outA > outB and limit is true