Fix #977: Form Population Filter inserts markup container for validation errors even if there are no messages to insert