Hi,
How you deleted flag X only?
Are you sure about your deletion? as my guess its not.
because its master data, its not easy to delete. it may be used in all connected targets.
From your reports can you check which customer have customer payment as X.
Thru customer you can recheck at master data level.
form report you need to cross check from where its taking that value.
Thanks