Bug fix for messageType

Signed-off-by: Cory Feitelson <cfeitelson@roovy.com>