Bugfix for inlines when there is no related objects