Removed unnecessary checks since based on the code it could never hit those scenarios anymore.