Fix a typo causing the not-in-database print error to be fired, actually checking the response result.