Fix missing entity_id in index-post

Fixes #533