Enable loan stats only if "loanstats" feature is enabled in the config.