fix not to query with blank array argument (json field removed with blank array?)