Sadly OPs explanatory comment has been flagged into oblivion (see far below) because the automod could not comprehend the importance of NUMBERWANG

No it's a bug. Numberwang returns NaN and this obviously hasn't been handled correctly.