Fix Range array Query serialization