Fix table selection when using "include-tables"

Resolves: #50