add useful error for bug with old btables that don't have key columns. Probably could be more useful in the future.