Fix intermittent test failure ('v' is overwritten in the list comprehension)