Corrected some bugs where array urls weren't matching (case + empty arrays)