Fixed the occasional error in `recursive_collect`

15 jobs for fix_extract_constants in 39 minutes and 45 seconds (queued for 1 second)