Fix existence check