Fixing issues with incomplete db entries
Merge pull request #325 from Thorsten-Sick/stats_bugfix

Fixing issues with incomplete db entries