commands: Update quality checks in refresh_stats