That currentItemURL check seems redundant, because if it is NOT NULL, it will be set here?