Fix for issue #200 Fixed NullPointerException when comparing ComplexTypes

 #200 Fixed NullPointerException when comparing ComplexTypes where b.model is null and a.model is not.