Kernel repr now works with nans