[BUG #7806] Fixed children check on _applyModel.