Be more dilligent about checking that input values from GUI editors
are within the permissible range.  This fixes a bug where values
could be outside the scope of the item, which would cause automation
not to play for the following item...

This does need to be fixed on the C/back-end side of things also, but
it shouldn't be possible to trigger the bug now...