Max length bug in Internet explorer

In Internet Explorer, when reaching the maximum length (by typing), the last character would appear in the target element, likely due to the `autotab-next` event being triggered before the filtered value was established.