rlm_detail bug when "locking = yes"