Fix purge action in folder manager (#1489280)