Fixing the blocking rules so that the groups are properly obeyed.