Bugfix with parsing command messages

Was stealing some of your code for the Facebook SMS app and noticed this reference bug