I didn't realize until now that we already have a getMultipleContentItems. Can you maybe implement that here? It should make the code much less complex and, if not perform better, certainly shouldn't perform any worse.