Fixed staff image deletion bug