Fix crash when a field is not filled out

Stops the server from returning 502 if a user skips filling out a field when editing/creating an article.

Closes #158