Fix maxSatisfying throwing on invalid versions, fixes #800