Fixes bug where unrelated entries will mess up with each others breakdown's measures

Check https://github.com/openspending/minasgerais.openspending.org/issues/1