Fix accepting invalid numbers containing ':'.