Adds inverse_of to help Rails with validations.

Silly Rails. Can't figure out that everything will be OK when you save
the record by itself.

Change-Id: Ic5a075d83b80a6230cfe5270bd984da5f74b6bd2