Avoid empty nodes in v1 API entities index caused by disabled entities