Fixed error with creation of rider table