Fix #332: reset value of interaction tasks when the input becomes illegal
Closes #332 (closed)
@mlubbers could you have a look? The bug was introduced in !291 (merged).
See also !305 (merged).
(This is also the first bug to be found and fixed with Selenium