'name' is a function, so evaluate it before comparing it

I probably introduced this bug :(