Checks for an empty queryset before trying to fetch the last object in it
Checks for an empty queryset before trying to fetch the last object in it

klpdotorg/dubdubdub,klpdotorg/dubdubdub,klpdotorg/dubdubdub,klpdotorg/dubdubdub