Fixed PLA selector and some concurrency bugs in the partition
implementations