Fixed an issue with print-db where the values weren't being printed out properly.