The influence of convection on tidal flows