Removed useless check