fix sale enablement bit for query