#6 Check if item has values before array_merge
Merge pull request #7 from Shelob9/6-check-before-merge

#6 check before merge