ologservice: fixes an issue when the search for a log. compatibility problem with a Postgres database