Fixed bug with dates assigned to memberships