Logic for this ought to be *outside* of this function.  Also not all reverse relations are to_many.  (Ie. reverse one-to-one relations.)