Fix to a problem where the @collections instance variable would be inappropriately blanked out.