Added uniqueWithin function and update sentinel revision to fix bugs. Issue: #412