Fix comparison in example