Restrict version numbers to 3 digits