Filter relationships correctly
Filter relationships correctly

We need to handle Collections instead of arrays here because that is
now mirage works now.

dartajax/frontend,dartajax/frontend,ilios/frontend,jrjohnson/frontend,thecoolestguy/frontend,djvoa12/frontend,jrjohnson/frontend,thecoolestguy/frontend,djvoa12/frontend,ilios/frontend