Fixes bug in the propagate function