Removed a assertion for revision sets. Replaced with error logging.
Minor changes.