fixed api views discovery when using nested urls