Find all $z$ such that neither $2+z-5z$ nor $2-z+8z$ is in the interval $(-7,13]$. Express your answer as an interval or as a union of intervals.