Fixed error when section id has more than 3 digits. See #2418