Remove redundant flash_messages element