Fix tag handling on obj with same name. Fixes #24