Fix comparison

Resolves old IE issues