Retain inherited category when moving issue to sub-subproject

Prior to this, the category would be reset to default when moving an
issue more than one level down the project hierarchy, even though all
subprojects are set to inherit categories from their respective parents.

Thanks to lukasd for identifying the issue and providing the fix.

Fixes #16182