Fix for multiple Documents in extended search