Codebase (LatestActivity fragment)

Minor fix to last commit. Didn't include a validation to check whether
both targets were met; and if so, to reduce number of visible items by
1.