Fixed so that the relationshipTypeInitializer is running in the right order.