Don't crash on invalid math