Made prereq cache work with competence nodes instead of scoped courses