Utility functions for finding courses by id