Fix for loading scan protocols with additional documents