Fix stock locations ui on both frontend and backend