Fixed Issue #10

Note checks for rep invariant that pitch is not null.