Hi,
I don't know exactly what's causing the problem, but I'd suggest upgrading to the latest version of Semantic MediaWiki; SF, in theory, still supports version 1.2 (which uses the old SQL structure, SMWSQLStore), but there may well be bugs in that code, and I'm planning to take out that support at some point; i.e., require SMWSQLStore2.
-Yaron