Fix extract conditions call