Fix priority for deformed structure calculations