Special handling for zero row dfs in do. #625