Added GetInt() into the variable checks!

Yep silly, stuff.