Check for empty error when formatting nested vector