some more fixes for Sass 3.4 support

sass 3.4 doesn't play nicely when performing operations on `null` values, so we have to add some additional logic to handle those before performing those operations