Update AP.sql

Correcting calculation of xm_recharged