Fix failure when no syntaxes are set.