Fix crash when annotation tag is empty