Fixing a crash which can occur in jcom.ui during model initialisation