It's not showing up in the text message folder. It's showing up in the 'Messages' folder, which will show all messages. You can't change that. What you can do is activate the sms/mms folder that will just show text messages and then hide the 'messages' folder.
Go to Messages > Menu > Options > General Options > SMS and Email Inboxes = Separate