Fix for mssql function call

MSSQL function calling was broken and acceptance tests in `SqlServerTests.FlowMode.CallingFunctions` - failing (attempt to access jdbc parameter index on 0-position).

This PR is fixing the issue.