Fixed issue skipping over relation models