Bug 906252 - OdinMonkey: fix type checking of final return (r=bbouvier)