adjusting queries to fix hr position problem
change to position query