
If it doesn't result in any version being marked as suggested, e.g. because it is higher than 0 but lower than any available version, we end up with a NULL suggestedVercode. Run the Latest() algorithm after the Upstream() one, and have it pick up those cases too by adding "OR suggestedVercode IS NULL". This way, we treat invalid upstreamVercode values as if they were NULL. Also some cleanup of comments. Fixes #371.