Fixed wirelink and entity outputs not duping correctly

Fixes #698