Minor simplification to edge rotation handling