Fixes a crashing bug when link is not present in response