I have a two models, AverageSoh and Datachunk that are not directly related to each other but are related through two different models. One of those relationships is many-to