Removed useless if