I did that to avoid creating multiple statements for the same month, so if the query found a statement for the given month/year it won't try to create another one.