Fixing a problem in full_empty_entry
Turned exception into assertion