Prevent overwriting sides in import sides input

Closes #4.