Fix double loop over single array