Fixed the names of the many to many tables