SITE-510: Fixed type coercion when reading from the DB

- This is actually caused by a type mis-alignment between the DB
  and the model but this fixes it for now.