fix bugs with nestedness of data items and data items being in wrong order
fix bugs with nestedness of data items and data items being in wrong order

BenLangmead/qtip,BenLangmead/qtip,BenLangmead/qtip,BenLangmead/qtip