When can this exception occur? Is this the case where a nested join query has a limit, and do we have a test case for this?