Fix MySQL replication window handling

The order of operations in ruby was causing start_time to be end_time
Merge pull request #84 from eric/fix-mysql-replication-window

Fix MySQL replication window handling