Allow selection of category itself for import

Fixes #1494