Get rid of magic value in typeID value space (and related cache generator checks), use separate filter type instead of it

Magic values are generally bad and may cause problems in future