Fixed small bug in comparison.