I think this could be a lot neater if you create a `FluentIterable` from `item.getVersions()`, then use its `transformAndConcat`, and `filter` and `isEmpty` methods.