Solved bugs in saving comp. positions and queries/uris