Modified and fixed bugs that didn't allow to insert multiple same stock items to sold items table.