that's it. Seems like queryRecordInverse is a dead function, though

it's also using a variable - $all - that isn't there