Fix invalid HTML for profile-context dropdowns