Bug fixes in validate and sequence functions

Fixed bug causing firebox sleep count to get out of sync and fixed bug
with sequences firing too fast.