Refactoring

Throw an error only if no tasks we found because all ids provided in the url were wrong:
- If n ids are provided but m are wrong, then (n-m) will be displayed
- If n ids are provided but all are wrong, throw a 404
- If the challenge doesn't have any tasks, I think it is bad usability to throw an error, so empty array is returned