Fix wrong array merging
Merge branch 'as-bugFix'
Merge pull request #27 from hAdamm/master

Fix wrong array merging