Code cleanup and maybe fix. [Checkmount.lua]

Doggox add getGroup >= 3 i dont know why he add this function.

Code cleanup.