internal ntile correctly deals with NA. #774