Allow equality check of Hamsterdam struct with nil

Comparing a Hamsterdam struct with nil tried to call a method on
NilClass that was not present. Now checking for nil before calling the
method.
Changed version number to 1.0.7