Select from Mysql, a tinyint is given as a string