Add before and after parameters if available when paging. SOCIALFB-139