Fixed Multiple portfolio bug