Fixed a little bug which prevented the creation of relations