Fixed the provider side of allowing hash to be recorded for a query