[#82] Check for resourceId parameter before defaulting.