[pipesize model] bug fixed with query builder WHERE/AND instructions in countRecordsByFilter() and getRecordsRangeByFilter() methods. Changed type of variable iterator and implemented little changes of algorithm