Fixes for code age logic.