Fixes an error when options are empty on createClient