Fixed issue with equal operation