Fixed bug where teaching period was not being used for course shortname