Feature #3622 addition: fixed the yearly percentage calculation