Problems with NaN values have recently reported here:
This won’t probably help you right now but maybe you can also suggest improvements there.