check for array

fix for bug: Can't use string ("0") as an ARRAY ref while "strict refs" in use at script/ddgc_commit_edits.pl line 46.

@MariagraziaAlastra 
Do you know the case where this can happen?  If not, we should figure out and comment why.