Removing unnecessary else branch.