fix validation, so ships are not marked valid when energy or engine is fixed but not both of them