make --list-tasks honor --limit

This PR makes the --list-tasks option honor the selection given bij --limit.