MNT-11412 : Repository: Internal error on the details page
   - We should take into account situation when site is null.
RM-1503 (XSS: disposition period field is error prone)
RM-1295, added exclusion for system folders in getting unfiled folder contents in searches in order to exclude rules folders