PetScan::resolve_nested: handle presence of arguments in access expressions