fixing empty favorite_task_ids