Features/language switch optimizing

@sdecastelberg 
- fix language switch in backend to not fail when a page is invalid