or maybe you can specify a type arg to the array filter for this purpose? Of course this is fine too, just bringing up options.