Fixed broken calculation
Merge branch 'master' of github.com:WoltLab/WCF