Added extra case for type checking

The checking now allows ‘SMALLINT’ to ‘INT’.