Fixes error on changing Stocks for Admin