Fixes the problem of the last failing 'visit' test.