Adding nil history yaml checks and adding default history values