int targetOffset = action.getOffset();
int targetPage = action.getOffset() / action.getCount();
GetTransUnitsNavigationResult navigationResult = null;
if (action.isNeedReloadIndex())
{
<BUG>GetTransUnitsNavigation getTransUnitsNavigation = new GetTransUnitsNavigation(action.getDocumentId().getId(), action.getPhrase(), action.isFilterUntranslated(), action.isFilterNeedReview(), action.isFilterTranslated(), action.isFilterApproved(), action.isFilterRejected());
log.debug("get trans unit navigation action: {}", getTransUnitsNavigation);</BUG>
navigationResult = getTransUnitsNavigationService.getNavigationIndexes(getTransUnitsNavigation, hLocale);
int totalPageNumber = navigationResult.getIdIndexList().size() / action.getCount();
if (targetPage > totalPageNumber)

int targetOffset = action.getOffset();
int targetPage = action.getOffset() / action.getCount();
GetTransUnitsNavigationResult navigationResult = null;
if (action.isNeedReloadIndex())
{
GetTransUnitsNavigation getTransUnitsNavigation = new GetTransUnitsNavigation(action.getDocumentId().getId(), action.getPhrase(), action.getFilterStates());
log.debug("get trans unit navigation action: {}", getTransUnitsNavigation);
navigationResult = getTransUnitsNavigationService.getNavigationIndexes(getTransUnitsNavigation, hLocale);
int totalPageNumber = navigationResult.getIdIndexList().size() / action.getCount();
if (targetPage > totalPageNumber)
