Found Problem: Database needs to work on relations in general, not just relations it has stored.

Solution: Overload relational algebra functions again, with just Relation a, Relation b as their parameters. No pointers.