Fixed problem saving empty array
Merge remote-tracking branch 'origin/master'