fix dive by zero bug for when page is 0 days old