Manage Sections is working again Alhamdulillah

Run the following SQL command before doing anything:
```sql
DELETE FROM team_wise_settings WHERE ctid NOT IN
(SELECT max(ctid) FROM team_wise_settings GROUP BY team_wise_settings.*)
;
```