Fix return of path table from findPath