Fixed issue preventing editorial suggestions from being generated

Resolved an error that could prevent the system from generating editorial content recommendations when certain data was unavailable. The editorial suggestions feature now handles edge cases more reliably.