bug fix in assignments and people

bug fix in assignments if only 1 - detail was empty
bug fix in people search when cocking 'next 50;