Restored has_free_slots method