Fix: Don't crash when group resources are made persistent.

Reported-by: VSpike
https://github.com/taskjuggler/TaskJuggler/issues/106