When will be called?
```
        else:
            tasks = self.db.query(Task).all()
```
I think never. As a result we can just call without any conditions
```
tasks = self.db.query(Task).filter_by(cluster_id=user_data.cluster_id).all()
```