Fixes #752 - Ensure that the ceiling entity is used to determine metadata if there are errors on the form when submitting a new entity