No, probably not. Payday loans are illegal in MD, so the chance they will pursue you for any fraud claim is slim. But discuss the circumstances in detail with your lawyer (and don't try to file bankruptcy without a lawyer).
Wait from when? From the time that you took the loans out? If you took out the loans from the same place, bankruptcy code section 523(2)(C)(ii) reads: (II) cash advances aggregating more than $750 that are extensions of consumer credit under an open end credit plan obtained by an individual debtor on or within 70 days before the order for relief under this title, are presumed to be nondischargeable; and --- this is the closest thing that comes to some sort of a limitation of a discharge for cash advances. Your payday loans are not "open end credit", so not even does this provision of the code keep you from filing bankruptcy at this time. However, please don't file for bankruptcy if these two $500 payday loans are your only reason to file. There are other options, including negotiating a payment arrangement on the outstanding debt. Meet with an experienced bankruptcy attorney in your area. They will usually offer a free consultation, and some solid local counsel on your particular financial problem. Good Luck!