Do not use in_array() when grabbing all activity IDs for digest users.

Instead use an isset() check and use array_keys() to reassemble
$all_activity_items array.

See #39.