That's for federal welfare. The states do their own thing. If you want to understand welfare laws, ask someone who is on it for longer than that limit. It is a career for some and they know those laws better than anyone.
That makes me wonder, which is more profitable: putting that amount of effort into getting an education and working or scamming the system?