[R, Maxima, Octave, Sage] Fix logical error in "interrupt" function.

Authored by sirgienko on Feb 10 2019, 4:14 PM.