Fixing handle creation from external form to be backward compatible.