Fixed a bug where the count of the number of problems for a contest, in the list by category page, is in correct due to the fact that it contains also the deleted problems.