Accounts for nil params.