Issue #2537982 by smurrayatwork, Dave Reid: Fixed invalid destination error when switching file schemes on file edit form.