Fixing instability with deserializing and instantiator order

Closes #668
arity will never be less than 0 ;)

use `== 0`