Add last n versions queries
Add default query