Logarithm rules are not being evaluated correctly

There are a number of log formulas that work individually on desmos, but do not function correctly with additional parts.

For example
log(50) - log(5) = 1
log(50/5) = 1

Therefore
(log(50)-log(5)) - log(50/5) = 0

Instead, I get a long decimal number, and that decimal number significantly affects other more complex equations.

Example of the bug