Fix computation of primitives that should not be wrapped