Fixed crash upon entering invalid numeric data (not integers)