replaced limit query param in builds resource with variable
added TODO comment to fix a LIMIT query bug