Fixed two bugs:

Fixed bug where formula dependencies would be duplicated on display.
Fixed bug where deprecated formulas would cause the app to crash.