fixed checking of non existing attribute when setting log-queries-not-using-indexes