My question involves landlord-tenant law in the State of: Minnesota

In Minnesota there is a subdivision about Bad Faith Retention. It reads;

Subd. 7.Bad faith retention. The bad faith retention by a landlord of a deposit, the interest thereon, or any portion thereof, in violation of this section shall subject the landlord to punitive damages not to exceed $500 for each deposit in addition to the damages provided in subdivision 4. If the landlord has failed to comply with the provisions of subdivision 3 or 5, retention of a deposit shall be presumed to be in bad faith unless the landlord returns the deposit within two weeks after the commencement of any action for the recovery of the deposit.

I'm wondering what it means when it says "If the landlord has failed to comply with the provisions of subdivision 3 or 5, retention of a deposit shall be presumed to be in bad faith unless the landlord returns the deposit within two weeks after the commencement of any action for the recovery of the deposit."

Does this mean the landlord can return your deposit within 14 days of your filing and they aren't subject to any penalty?

In Minnesota after 21 days the landlord then owes you your full deposit and interest, doubled. Does this mean they don't owe you double now? Please help.