Check if preview_item exists before attempting to remove it