Fix RuboCop offenses introduced in version 0.22.0