Fixed bug #2229:crash in Z39.50 client module