Removed unnecessary empty check