Removed Dead code

Removed useless else blocks since it's return.