Crash bug fix

Note to self: don't print out stuff the database doesn't have.