I think you give the government too much credit still. In Florida for instance, ex-convicts registered to vote at the county office and were told they could based on a new law. The county clerks gave them bad information and they were still arrested.
Yeah... I'm saying the documentation that you have a medical marijuana make it more likely they would target you, because it's not that difficult to cross-reference various government lists (marijuana database and NICS).