fixed the check for the last add on queue