Fixing arguments for source_with_lock_for_select_statement