Alternative cast fix in HStoreContains