Fixed problem(s) with image deletion.