Simplified the if statement in thisMonth()