Fixed Calendar not being restricted upon initial page load.