Fixing flaky PrintTaskCards spec