LB-1563 Fix pagination: offset must be updated based on updates

When adding or deleting new posts after an update, pagination offset is updated too.