Propagate the previous fix for #19 for the rest of backend.jl and directtofile queries