Fixed 'wrong type for this column' error - by alex2ndr