Fixed array matching when key does not exist in value array

Fix for #13