Remove select_for_update() while getting the previous version