map mysql tinyint to bool. fixes #4