Nice error message for duplicate chains