Adding ability to properly parse tinyint and boolean restrictions