MIDI Keyboard Doesn't Load

Hi guys

I’m having some problems with my MIDI keyboard on Cubase 7. (MIDI Keyboard: Alesis Q49)
When I load up Cubase 7 with the keyboard connected, it does not register the keyboard correctly and when you play the notes, there is no ‘MIDI activity.’

The only way to get the keyboard to work is to completely restart Cubase.
When Cubase opens for the 2nd time, the keyboard usually works.
Any idea what is causing this problem and how it can be fixed?

Its REALLY annoying to have to open and close and reopen Cubase every session I start!