issue #38 - java.lang.IndexOutOfBoundsException when clicking on any empty table in the plugin

[fix] add check for valid row index
Merge pull request #39 from markiewb/bugfix/fix_38

issue #38 - java.lang.IndexOutOfBoundsException when clicking on any empty table in the plugin