Fix out_of_range when adding quest functions