Fix for https://github.com/xmetdb/xmetdb-server/issues/15