Fixed issues 8 and 9

Change on the file relation.py to pass the wilcard constructor instead
of '_'