Bug fix

Corrected a bug where data wasn't being stored correctly into the
aiml_userdefined table