Fix raw cgroups handler.
Fixed bugs introduced in previous patches.