Merge "Fixing out of bounds access in frame_refs[] array."