If we have an optional parameter, strip out nil values by default without requiring we put nils: true everywhere.