Correct database error.