Fix SafeDynArrayFromVariant function for arrays with 1 element
Merge pull request #43 from alexeyvo/development

Fix SafeDynArrayFromVariant function for arrays with 1 element