fixes condition on session storage not-empty check