[FEATURE] Handle empty type selection

Implements a missing feature for [ticket 1695](https://www.openproject.org/issues/1695)