Minor changes to documentated examples

Forgot the 1 when returning true for package examples.