Fix empty alert message for database conflicts.