BUG30787 fixed unexpected behaviour by removing nullable values
- [done ] closes #30787 
Added a simple check not to allow nan values for calculation. Numpy seems to throw error when nan values are passed to searchsorted function.

Closing as I think stale but ping if you want to pick back up and can address comments / red CI