fixing filtering, added empty array if no activities found