Rewrite for db in progress
Bug Fix: Don't stop at first fail in inventory