Fixes a issue in schedule rendering