There's a bug on the submit function that doesn't check if we want remove a mapping, when it's the only mapping.