Better error handling for missing sequence names