[#9846] Fix incorrect parameter order passed to findResource