Restore your site to your working UNA v12.1.0. A beta version of 13 is not an upgrade of 12.1.0. Production sites should only be on a stable release due to the unpredictable results one can see with beta software; as you found out.