We were appending new QueryTaskTracker ids to query_task_trackers sorted set but we were never removing them... Also removed the migration to create index on org_id as it created by default by Peewee for foreign keys.