1.1.7 rlm_detail locking is broken