Fixed bug with sage versions with 3 digits.