State nursing homes trying to limit liability