Had to change array keys because they were apparently causing fatal PHP errors, even though this had never happened before.