fix addRowData with pos = "after" with subgtid

see http://www.trirand.com/blog/?page_id=393/bugs/bug-in-addrowdata-method for more details