Fixed another casting bug