Fix error in resolution of prerelease - fixes #156