Updated type checking to cater for vertex without 'type' property defined.
Updated amberdb version.