Bug fixing on comparison methods.
Bug fix

Bug fixing on comparison methods.