Fixing bug 4761

See https://tracker.silverpeas.org/issues/4761 for more details...