Fix backtrack to compensate for int folders