fixed version logic bug in prefixhealth