Fixed slots accepting NaN and updated error messages.