Bug fix and numeric input

Fix bug with last deputy party.
Input fields are numeric (all non numeric characters are removed).