Fix search for resources having a postgresql array column.