There are a few actions that cause the replaced block to have the incorrect orientation. The orientation that is replaced should always be the one of the original block if the replaced type is the same (Hepta ---> Hepta, Wedge ---> Wedge,...):
# 8 hull corner rotations are incorrectly replaced
-- before: {F202}
-- after: {F204}
# Replacing hull wedges with crystal wedges, or crystal wedges with hull wedges will use also are not replaced correctly.