Fixed incorrectly checking in inverseAssetMap