Qt: Fixed bug with ID column number