Fixed error in DBTreeModel::rowCount
Connect child object with their top level parent for executing queries