Fixed crashing when empty slots in create_phrase