Make sure we have all the columns needed for the condition.