Using...
Deleted posts aren't being deleted correctly from the database. They are deleted from the graffiti_Posts table, but the Post_Count in the graffiti_Categories table isn't being updated consistently upon permanent post deletion. If it makes any difference, the posts are located in subcategories.
Therefore the Category.PostCount will be returned incorrectly.