Well I was reviewing a code and found that while extracting details from data base for a news the expiry date where condition was not considered.
So though the news was not to be displayed as it has expired it was getting displayed.
Suggestion:
Always keep a db designer DB XML file to cross check before You write Your sql query.
Resource:
dreamhost rebate