Fixes #45 by by restricting the list of tables returned to minimum needed.