Fix undefined range.end causing exception.
Fix undefined range.end causing exception.

Discussed in https://github.com/trufflesuite/truffle/issues/655
but doesn’t solve the original issue.

ConsenSys/truffle