MSSQL FunctionList Query fix.
- change s.type = 'F' to s.type = 'FN'