Don't fail if there' no row id
Export to CSV script