Fix .to_i bug; time cop expects integers whereas the form fields are actually strings. Not sure how this slipped through the quality tests on the gem itself.