Huddersfield boss Simon Grayson said his team deserved to lose after their 2-0 defeat at Middlesbrough.