I have a function that is supposed to remove every json item if something, but instead removes every second one. Data is parsed json:
{ "idArti