mssql provider: fix filter type interpretation (fixes #11076)