Fix for switch between correlation methods