Fix to ensure that P_CONTEXT uses the correct context even when invoked from another schema.