Fixed the problem with the "when" kwargs that had datetime.now() as default value falsely.