Removed equality check for conditional

Equality check for conditional was removed as it was not necessary for
checking boolean variables.