Ensure empty checks are done correctly.