Revert "protect against -ve indices ... -1 is passed when a semaphore alloc fails for example"

This reverts commit 54f2101b1fb2479a70f0c8d6fa9a8fee7d8198d1.