Fixed wrong elseifs.