Actually fix removal of <ul> lines