Updates database server to ensure that values are in right format

We were passing values like "N/A" for numbers. This caused an error when
we tried to create a new entry in the database, as that could not be
converted into a numeric type. We now convert these kind of strings into
a placeholder value which can be handled.