Trying to fix a problem where the ###AllOfType() functions are not working properly.