Fixed to use SQLStore3 DB tables when main store is 'SMWSparqlStore'

Change-Id: Ie1b35e6d6e5e46011c4859511301e88146d07fc9