Removed invalid statement

Actually the else statement was always called but rendered a radio or checkbox widget anyway, so that the differentiation can be considered redundant (but perhaps useful for extensions)
Merge pull request #329 from KatharinaSt/develop

Removed invalid statement