Fix error 500 when deleting last user's simulation.