Instead of testing for the presence of `@type`, test for the presence of both `@start` and `@end` with matching `@n` values