#261 debug prelocking for index scans