Fix being unable to visit collections