SQL fixed. Issue #8 resolved.