Fixed issue with the conversion of integers