Correctly set null indicator in projection of scalar fields