Don't throw away query criteria when we don't know how to encode them.