Added check that an entry is valid only if it has 9 digits