I am surprised this is a problem since the query exists in
apm-procs.xql (the generic version), can you look and see if you have that file and
if so is the query defined there?
<p>
Also you directory in the diff says openacs/openacs_45_beta/openacs-4. Is it really
one of the betas that you are looking at?