Datetime inputs return datetime. Select returns an empty array instead of null.