Fixed type in add/edit discount screen. Closes #1038