Switched position of classes in isAssignableFrom()