Bugfix: empty tables and invalid inputs are handled
Merge pull request #46 from knime-ip/bugfix_sliceloop_33

thx @angrauma