Fixed comparison check (not compare equal value, but this isn't implemented yet).