Combine end tag back into complex statement.