Fixed problem with version numbers including 'beta'