SESIDEV-106 Fixed PHP error when adding new query term
SESIDEV-107 Fixed PHP error in checking dataset access requests