Select problem by type

Internal/temporary PR for review.
Typo: Variable is called `_tas` instead of `tags`