Allow HasValue for nullable type in Where query