Stronger check against numbers