Re-add integer type checks for unit text