Fixed adding clause from one model to filter for another model.