3.1.3

Fixes the fatal error on Drupal 10 introduced in 3.1.2 (#3614126).