Fix default logic.