Allow projection.invert to return null.

Previously this would throw errors.