Fix 500 for DELETE with trailing comma in itemKey (and similar)