In case zq isn't array, return just []

If it fails to match using given q, it will give [] as expected.