Exclude quantity already decreased from stock check

Change-Id: Ia51232cc02578db39f484932fddf980cf03d5e33