BlockOptionalMeta only supports selection by block and optionally metadata, just like the name says.
The mob spawned from a spawner is part of the spawner tile-entities NBT data.
There at least one issues about using NBT for block selection in Baritone, so don't open a new one.