Fixed the issue with '+' in values on data saving
Fixed condition in sort_stats_by_groups