Fix up stats endpoints