Corrected inverted table relationships.