add an ABS node in front of your speed variable: That will retain the value but always returns a positive.