Fixed ability to set database ID in configuration