Minor fix when counting accessible libraries per user