Removed extra uneccessary check.