fix inarray validator, thanks Felix Gilcher
closes #490