Fixed two bugs in examples/example_sprinkler_gibbs (reported by Priya)