Fixes #44 Just forgot to change the parameters from Date to Int.