I like the suggestion to only do exact matches on versions.
I agree with the missing else cases. 
I will look into that tomorrow (UTC+01:00).