Fix tasks collection datastore

First (not working) try @ mark as done of a task.
@swissmanu: sorry I guess I did some work you already did