Fix editing metadata in a nested folder causing back button to stop working.