fix waitToPopulate when table has thead (add tbody as container)