Fix so that it works with NuoDB.