Stopped compiler from failing on -1 temp index