varchar()[] cannot compare itself to text[] Thanks to joelburton for the patch. Backport of 0ae94d0d from master