Fixed a bug where structdefs could not be compared to "null"xs