Update course page issue that caused and exception after the hide empty fields feature was added