If still this bug effect you , I patch it with a simple script :
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
NumLock turned off on layout switch
To manage notifications about this bug go to:
ubuntu-bugs mailing list