Long-term unemployment as a screening device and its consequences for active labour market policies