Add offset and limit to course index