Changed option value equality check to strict equality check.