Trying to fix issue in comparing integer.