Fix error in getPreviousSprint