Fixed another type safety violation