Make sure zq is array

With a suitable query zq could fail so better check against this.