[FEATURE] Handle empty type selection

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