Rewrote locations instance method for repeating events

Fix #384