Fix issue with mysql, where association was failing due to position column