Removed unnecessary casts
Changes tabs to only display if there is content for the desired day
(plan + pages)