Fixed small bug that would cause an invalid redirect on certain systems when saving the settings.