Fixed bug where selection normalization wouldn't properly handle cases where a range point was after a element node.