Bugfix in constant folding

peekSpin works on matrix containers