Fixed some small bugs found in various storage functions.