Added a filter for the task entity

This is a proposal it is far from being a nice implemetation,
but we can t think of a different way to do it...

The main problem is we are not taking people away from the tasks...

But the app is taking longer and longer to load...
So we would like to be able to filter out after the status of the task as the entity status is set to final at a much later stage, but the task is not.

Cheers
Johannes