fix for project sort in course settings and conditional for project delete