Fixed issue with int type comparison.