Fixes bug in course edit page where director who was part of the course could not add curriculum periods.