You could have the Rubik's cube curse be something that subtly confuses the holder the longer they look at it. Also, I think changing the Rubik's cube to a 5x5, which has extra steps, would make it a bit easier for people to think it might confuse Ravenclaw. That coupled with the confusion curse...