Fixes #752 - Ensure that the ceiling entity is used to determine metadata if there are errors on the form when submitting a new entity
(cherry-picked from commit 4106f64b01057729547bf4cf5e517638b5949a21)