Fixing wrong DataFrame access.