Deep relationship queries and InvalidModelRelationException

Signed-off-by: William <william@amovens.com>