relation ranking bug