added check for IsDeleted before Viewing post