Fixed the default_scope in models/messages