Allow removal of relations, if relations were originally created from 'the other end'.
How did this get here? Changing a forward slash to backward. Hopefully fixes #557.
Adding extra check for array. Related to #559.