Update DialogueRoutes.cs to fix null references

If a forum does not contain any members, topics or Dialogue pages, the DialogueRoutes helper class tries to add routes with empty keys. This causes duplicate routes for some reason. This commit adds a check to make sure we have a key when adding a route.