This is wrong,
You should add a ```continue;``` here..
Otherwise you are adding the value and then trying to extract the identifier which will probably fail ..

Please add a test for this case as well..