Also apply resource math fix from 5ce0286 to =+/-.