Fixed adding and removed items to sorted lists even when sort has been set to null