Add test for previous runs
Correct contains_eager to reference subquery