Fixed "unable to determine overload" overloading error when giving correct types

This fixes the bug mentioned [here on the forums.](http://www.monkey-x.com/Community/posts.php?topic=3839) I tested it pretty well although without some sort of confirmation, I cannot say for sure if there's some very rare case that would cause this to cause a fail.