analytics: fix isRevenueRecognizable helper

Make sure to look at items on the current invoice only.

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>