correctly calculate adherence [Finishes #71848828]