Removed an unnecessary check