Through relation: Cannot relate over two habtm relations

User picture