Fix TagModel ignoring tags without parent due to mismatch in ID of invalid parent
By default invalid Tag has ID -1, the TagModel was expecting 0, so Tags that had
invalid parent were never attached to the root Tag and so the model was never
correctly populated (how come nobody noticed this?)
Discovered by Sergio and confirmed by TagModelTest.