Fix bug in EntitySummaryResource