Added condition for null pointer in deletefeedback.