Fixed extendProof bug that derek found earlier.

Cause was multiple versions of code flying around, we need the code to be merged often or we'll keep getting stupid bugs like this.
slight update
Merge pull request #6 from irongavel/patch-4

Fixed extendProof bug that derek found earlier.