Fix logexpect cursor creation to use the proper cursor options