Why does the cmdlet result from Select-PWSQLDataTable differ from the direct SQL Server result?

Got a function stored in the ProjectWise SQL Server Database. Why does the result of the query differ from the direct SQL Server result if i run the query with the ProjectWise module cmdlet Select-PWSQLDataTable?

My result of the direct query:

And the result of the Select-PWSQLDataTable:

So why is the FilePath field empty if i run the query with Select-PWSQLDataTable?