The transitional behaviour of avalanches in cohesive granular materials