Update toolkit.class.php

Bug fix for cleanInput method.