We check for value thruthiness below. So, if it's NaN, it won't be included in result.