JAVA-988 changed near queries with maxDistance to use documented format.