Query rewriter needs to figure out how to handle n-manys