OO-1194: fix firstResult counter in different place, fix select all behavior