Fixed EntityProducer to support Sakai 2.9.2