Fix leaking key when scoring adapting models