Bugfixes for local_size.