Never mind, it seems I didn't close the curve properly. I worked it out by using snap to vertices. Problem solved!