There is a regression here. Not all missing rows are added to the chain - just the last one. Maybe good to have a test for that - a case with two missing rows from the second query.