Fix bug when setting `account_validity` to an empty block in the config. Thanks to @Sorunome for reporting.