Remove duplicated assignment from API conversion
Merge pull request #2885 from VojtechVitek/conversion_duplicates

Remove duplicated assignment from API conversion