Added deletion of image after bug is deleted