Fixed bug in resolveExtensions method ...

Fixed bug in resolveExtensions method that was causing the properties copied from an extended schema to be 'undefined'.