Fixed empty entity button markup when no relation is found