vectorlayer: better matching of supported types (fixes #10564)