Handle submission deletion properly