Fixed warning for missing entity.