Won't this assert always be true bases on the previous if?