Update decode logic for nestable block elements