Removed console.log.
Filter the column data.
Added type for tinyint.