Don't crash with empty locations. Fix bad routing, edit account was not working