SCRIPTS: Fixed the three mage gate to work properly with 3 mages present.

Note: This is still somewhat buggy if abused. The counters do not guarantee the correct number standing on the 'plate'. Setting your job on a plate will break that given plate as well so be kind with GM commands!