Fix minor bugs introduced by search comparators
Merge branch 'master' into record-locking
Lock record when confirming deletion requests