Fixing excerpts example

Contributed by @pat