Fix for integer compare type