Don't copy document vector if component has only one document. Saves lots of memory, should fix #390