Instead of max_amount go for max_time. Usually you'll spot typos right after you bash sent. If edits were only possible for X minutes that would be enough.