Made comparison consistent