RPC scaninput: Reduce default time window to 90 days, fix nOut checking issue.