Updated account for overflow issue

See thread on the sparkcore community website: http://community.spark.io/t/help-with-code-for-a-halloween-prop/7473/6