Fix propfind after wipe failure; min_generation set to int and compared to long