Last deleted image fix