Nadya,
Sorry may be I missed something because I didn't read the whole thread but where m.lnRelations is defined?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.