Fixes issue #1095
Take current item quantity from cart into account when checking stock
Merge pull request #1098 from umpirsky/fix/issue-1095

Fixes issue #1095