If your petition was dismissed due to that type of error, you should look into the possibility of a legal malpractice action. You should also consult another attorney to re-file your petition. Bankruptcy isn't something that has a statute of limitation imposed on it.
A complaint to the bar association might also be in order.