Added logic to not include null values in aggregate influence and ideology score