BTW, shouldn't you be doing bitwise on the following...

Code:

...
Case VarType($Remove) & 8
...
Case VarType($Remove) & 8192
...