Changed multi table generation handling.

The generation of multiple tables is now the hash of the generations
of the individual tables.
Previously an additional step was taken of using the hash as a table
name and looking up its generation.