Hide blocks if attributes are empty