Fix debug messaging added in last PR... it was a bit broken