Fix for empty array referrer