Fix table selection when using "include-tables"

Resolves: #50
Merge pull request #51 from tantegerda1/master

Fix table selection when using "include-tables"