Revert the isEmpty change