#398 Fixed DB output tested.