Refactor include/exclude activity types into it's own function and improve performance (don't retrieve excluded activity types)