refactor parentable to hierarchical since it makes more sense that way
use original query expression than the db manager one