Revert "Optimizes the catalog index rebuilds for 100000+ products"

In theory it should have been faster but in practice it takes longer to use the catalog IDs in the catalog list search
Minor performance improvement
Merge pull request #374 from nsendetzky/master

Reverts optimizations as they improve performance only in theory