Fix group statistic calculation to include active and readonly version

https://bugzilla.redhat.com/show_bug.cgi?id=1033446