Fix mapref recursion test #1679