Avoid looking up the location of a non-existent content item
Avoid looking up the location of a non-existent content item

Only lookup the location of the previous_item if there is a previous item. This
removes a redundant query when the previous_item does not exist, which would
look for a location not belonging to a content item.

alphagov/publishing-api,alphagov/publishing-api