Fix #977: Form Population Filter inserts markup container for validation errors even if there are no messages to insert
merge [3909/branches/0.11], refs #977