remove _preferences table from clearCache (table is removed in v1.4/c4.2)
v140: adjustment to query call
Merge branch 'dev' into test
Merge branch 'test' into prod