Add conditionals for when no visits, affiliates, or referrals are in the system. #51