Fixed a bug where values could vanish if not used by a block