Fixes temporary lifetime computation for static items

closes: #11854