Fix nil query in example