Add support for complex tag logic and proper handling of /legislator/sponsor/upcoming.