insertOrderedList: fix incompatible tests (style attributes)

PTAL