FIX: activities cannot be filtered by project

You can only display all activities or the ones not assigned to a project but you can't filter for any project. This patch fixes that wrong behavior.