Fixed error if attempting to remove more than 2100 warehouse notifications.
Date applied: April 28, 2021