Fix for nested <ul> tags