Fixes two bugs in PAAnomaly (missing end_access() and wrong metadata).