Fixed calendar navigation bug