If a member submits a photo and the admin deletes(rejects) it; the sql still marks the profile as having photo.

In other terms, Picture on profile table set to "1" after upload, but it doesnt return to zero if the photo is rejected.

I am trying to show only "profiles with thumbs" on my mainpage, but this bug makes it impossible...

Anyone can help ?