Fixed bug when limiting relations
0.1.2