replaced nested set queries in prefix matcher with native ones
removed remains of lft/rgt stuff