Removed Dead code

Removed useless else statements.