Removed useless if check.