another sql adjustment
fixes on postgisSqlGenerator's queries