I'm retarded. Code works now.

No longer and error when multiple up or downs pressed.