Bug 1071451: [AUM] Handle attention windows properly so calls are counted

nit: conditional expressions aren't any faster than if statements and they're a lot harder to read.