Fixing a big in the is_empty f()