Database stats fixes
Editable fixes