Make get/getrec not to throw exception