           coll_object_encumbrance,
           encumbrance
         where
-			encumbrance.EXPIRATION_DATE < sysdate and
+			encumbrance.EXPIRATION_DATE > sysdate and
           coll_object_encumbrance.encumbrance_id=encumbrance.encumbrance_id and
           encumbrance_action='mask record'
     ) maskrecord,

          coll_object_encumbrance,
          encumbrance
        where
			encumbrance.EXPIRATION_DATE < sysdate and
          coll_object_encumbrance.encumbrance_id=encumbrance.encumbrance_id and
          encumbrance_action not in ('restrict usage','mask record')
    ) infowithheld

          coll_object_encumbrance,
          encumbrance
        where
			encumbrance.EXPIRATION_DATE > sysdate and
          coll_object_encumbrance.encumbrance_id=encumbrance.encumbrance_id and
          encumbrance_action='restrict usage'
    ) restrictusage,
