Fix for missing "before" dict item.