Fix invalid default values for user configurations
Closes #1007 (closed)
This was partly due to a check not actually used when validating given user_configuration. I also make sure that the defaults for types float
and string
are respectively a float
(not False or 0) and a string
(not False or 0).